﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sio.Mdm.Server;
using Sio.Mdm.Types;
using Sio.Mdm.Entities;
using IDM.Types;
using Sio.Mdm.BL.Base;

namespace IDM.BF.AdministrationService
{
    public interface ITokensService : IBaseService<Token>
    {
        /// <summary>
        /// Select parent for passed <see cref="Token"/>
        /// </summary>
        /// <param name="token"></param>
        /// <param name="session"></param>
        /// <returns></returns>
        Result SelectParent(Token token, Session session);
    }
}
